/* FCKCommands.RegisterCommand(commandName, command)
       commandName - Command name, referenced by the Toolbar, etc...
       command - Command object (must provide an Execute() function).
*/
// Register the related commands.
FCKCommands.RegisterCommand(
   'XLink',
	new FCKDialogCommand('XLink', 'Create or edit a link',
		FCKConfig.PluginsPath + 'x_dialogs/x_link.html', 590, 378));
//		FCK.GetNamedCommandState, 'CreateLink'));

// Create the "Find" toolbar button.
var oXLinkItem = new FCKToolbarButton('XLink', FCKLang.DlgLnkWindowTitle);
oXLinkItem.IconPath = FCKConfig.PluginsPath + 'x_dialogs/x_link.gif' ;

// 'My_Find' is the name used in the Toolbar config.
FCKToolbarItems.RegisterItem( 'XLink', oXLinkItem ) ;
